<template>
	<view class="page">
		<view class="list-box">
		  <view class="msg-list" v-for="(item, index) in datas" :key="index">
		    <view class="l">
		      <view class="cont">
		        <view>APP大更新了</view>
		        <view class="text">我是简介，我是内容...</view>
		      </view>
		    </view>
		    <view class="num" v-if="index<4"></view>
		  </view> 
		</view>
		
		<vf-loading v-if="showLoading" :status="status" :page="page" @error="getPage" />
	</view>
</template>

<script>
import { page } from '@/mixin/page.js';
export default {
  mixins: [page],
  data() {
    return {
      
    };
  },
  
  computed:{
  	reqData() {
  		return {
  			yiji: '',
  		}
  	}
  },
  
  onLoad() {
    this.getPage('testLists');
  }
}
</script>

<style lang="scss" scoped>
.page {
  @include page;
}

.msg-list {
  background: #fff;
  width: inherit;
  padding: 20rpx 24rpx;
  display: flex;
  justify-content: space-between;
  border-top: 20rpx solid #f3f3f3;
  align-items: center;
  .l {
    display: flex;
    .cont {
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      color: #333;
      view {
        display: flex;
      }
      .text {
        display: block;
        max-width: 440rpx;
        font-size: 22rpx;
        color: #666;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
      .gf {
        font-size: 22rpx;
        background: $main-color;
        border-radius: 2rpx;
        color: #fff;
        width: 56rpx;
        text-align: center;
        line-height: 30rpx;
        margin-left: 10rpx;
      }
    }
  }
  image,
  .image {
    width: 90rpx;
    height: 90rpx;
    margin-right: 20rpx;
    margin-left: 30rpx;
    border-radius: 10rpx;
    overflow: hidden;
  }

  .num {
    width: 16rpx;
    height: 16rpx;
    background: #fd82a1;
    border-radius: 100rpx;
  }
}
</style>
